

# def get_url(url):
#     html = get_html(url)
#
#     urls = parse_url(html)
#
#
# def get_url2()

def gen_func():
    html = yield 'http://projectsedu.com'
    print(html)
    yield 2
    yield 3
    return 'bobby'



if __name__ == '__main__':
    gen = gen_func()
    # url = next(gen)
    url = gen.send(None)

    html = 'bobby'
    print(gen.send(html))
    # print(next(gen))
    # print(next(gen))
    # print(next(gen))
    # print(next(gen))